package com.easy.project.domain.vo.builder;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.stereotype.Component;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author wxz
 */
@Data
@ApiModel("BuilderVO")
@Component
public class BuilderVO {

    @ApiModelProperty("作者")
    private String author;

    @ApiModelProperty("数据库连接url")
    private String url;

    @ApiModelProperty("数据库用户名")
    private String userName;

    @ApiModelProperty("数据库密码")
    private String password;

    @ApiModelProperty("模块名")
    private String moduleName;

    @ApiModelProperty("需要生成的表名")
    private List<String> tableNames;

    @ApiModelProperty("代码是否生成在项目内")
    private Boolean codeInProject;

}
